<?php
/**
 * Created by PhpStorm.
 * User: jc234839
 * Date: 21/05/2014
 * Time: 11:43 AM
 */
?>

<div id="customers">
    <div class="dashboardLabel">
        <a href="customers.php?customerResults"><p>CUSTOMERS</p></a>
    </div>
    <div class="dashboard">
        <div class="create">
            <a href="customers.php?modifyCustomers"><p>NEW/MOD</p></a>
        </div>
        <div class="dashboardForm">
            <form id="customerForm" name="customerForm" method="post" action="customers.php">
                <input type="text" name="searchCustomers" id="searchCustomers" value="Enter Surname"
                       onfocus="if(this.value == 'Enter Surname') {this.value=''}"
                       onblur="if(this.value == '') {this.value='Enter Surname'}">
            </form>
        </div>
        <div class="search">
            <a href="#" id="customerNameToSearch"
               onclick="document.getElementById('customerNameToSearch').href = 'customers.php?customerSurname=' + document.getElementById('searchCustomers').value;">
                <p>SEARCH</p></a>
        </div>
    </div>
</div>
